package com.gdpu.project.vo;

import java.util.Date;

/**
 * CgTreatise entity. @author MyEclipse Persistence Tools
 */

public class CgTreatise implements java.io.Serializable {

	// Fields
	private final float REWORD_PER_POINT=4.6f;
	
	private String teacherName;
	/**
	 * 编辑角色，比如主编/副编/编委/编写
	 */
	private String editorRole;
	private String treatiseTitle;
	private String publishDw;
	/**
	 * 出版社层次
	 */
	private String pressLevel;
	private Date publishDate;
	private float keYanFen;
	/**
	 * 科研分酬金
	 */
	private float keYanFenReword;
	/**
	 * 奖励酬金
	 */
	private float reword;
	private String comment;
	private String ziShu;
	private String publishAdress;
	private String treatiseId;
	private String teacherId;
	private String treatiseType;
	private Integer id;
	private String language;
	private String yiWen;
	private String xueKe;
	private String schoolSign;
	private String isbn;

	// Constructors

	/** default constructor */
	public CgTreatise() {
	}

	/** full constructor */
	public CgTreatise(String treatiseId, Date publishDate, String teacherId,
			String treatiseTitle, String publishAdress, String publishDw,
			String treatiseType, String ziShu, String language, String yiWen,
			String xueKe, String schoolSign, String isbn, float keYanFen,
			String comment) {
		this.treatiseId = treatiseId;
		this.publishDate = publishDate;
		this.teacherId = teacherId;
		this.treatiseTitle = treatiseTitle;
		this.publishAdress = publishAdress;
		this.publishDw = publishDw;
		this.treatiseType = treatiseType;
		this.ziShu = ziShu;
		this.language = language;
		this.yiWen = yiWen;
		this.xueKe = xueKe;
		this.schoolSign = schoolSign;
		this.isbn = isbn;
		this.keYanFen = keYanFen;
		this.comment = comment;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTreatiseId() {
		return this.treatiseId;
	}

	public void setTreatiseId(String treatiseId) {
		this.treatiseId = treatiseId;
	}

	public Date getPublishDate() {
		return this.publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public String getTeacherId() {
		return this.teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getTreatiseTitle() {
		return this.treatiseTitle;
	}

	public void setTreatiseTitle(String treatiseTitle) {
		this.treatiseTitle = treatiseTitle;
	}

	public String getPublishAdress() {
		return this.publishAdress;
	}

	public void setPublishAdress(String publishAdress) {
		this.publishAdress = publishAdress;
	}

	public String getPublishDw() {
		return this.publishDw;
	}

	public void setPublishDw(String publishDw) {
		this.publishDw = publishDw;
	}

	public String getTreatiseType() {
		return this.treatiseType;
	}

	public void setTreatiseType(String treatiseType) {
		this.treatiseType = treatiseType;
	}

	public String getZiShu() {
		return this.ziShu;
	}

	public void setZiShu(String ziShu) {
		this.ziShu = ziShu;
	}

	public String getLanguage() {
		return this.language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getYiWen() {
		return this.yiWen;
	}

	public void setYiWen(String yiWen) {
		this.yiWen = yiWen;
	}

	public String getXueKe() {
		return this.xueKe;
	}

	public void setXueKe(String xueKe) {
		this.xueKe = xueKe;
	}

	public String getSchoolSign() {
		return this.schoolSign;
	}

	public void setSchoolSign(String schoolSign) {
		this.schoolSign = schoolSign;
	}

	public String getIsbn() {
		return this.isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public float getKeYanFen() {
		return this.keYanFen;
	}

	public void setKeYanFen(float keYanFen) {
		this.keYanFen = keYanFen;
		this.setKeYanFenReword(keYanFen*REWORD_PER_POINT);
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public void setEditorRole(String editorRole) {
		this.editorRole = editorRole;
	}

	public String getEditorRole() {
		return editorRole;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setKeYanFenReword(float keYanFenReword) {
		this.keYanFenReword = keYanFenReword;
	}

	public float getKeYanFenReword() {
		return keYanFenReword;
	}

	public void setReword(float reword) {
		this.reword = reword;
	}

	public float getReword() {
		return reword;
	}

	public void setPressLevel(String pressLevel) {
		this.pressLevel = pressLevel;
	}

	public String getPressLevel() {
		return pressLevel;
	}

}